package com.homework.note.Repository;

import com.homework.note.Model.User;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @author htyu
 * @date 2019/3/4
 */
public interface UserRepository extends MongoRepository<User,String> {

    User findByName(String name);
}
